home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
6_1.lha
/
6_1
/
tst3.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
466b
|
26 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
include <strclass.h>
include <6_1b.c>
include <6_1c.c>
ain()
string w = "abcd";
cout << "w='" << w << "'\n";
string x = "wxyz";
cout << "x='" << x << "'\n";
cout << "w+x='" << (w+x) << "'\n";
string y = w + x;
cout << "y='" << y << "'\n";
y += w;
cout << "y='" << y << "'\n";
return 0;